package com.yydm.serviceacls.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 权限实体类
 */
@Data
@TableName(value = "automobile.permission")
@ApiModel("权限对象模型")
public class Permission implements Serializable {

    @ApiModelProperty(value = "id",required = true)
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "权限名称",required = true)
    private String name;

    @ApiModelProperty(value = "权限路径",required = true)
    private String path;

    @ApiModelProperty(value = "权限名称",required = true)
    private String description;

    @ApiModelProperty(value = "权限图标",required = true)
    private String icon;

}
